package com.factory.code.controller.param;

import com.factory.code.repository.ent.ProjectENT;
import lombok.Data;

@Data
public class GeneratorDeployParam {

    private String packageName;
    private String author;
    private String tablePrefix;
    private String columnPrefix;

    public GeneratorDeployParam() {

    }

    public GeneratorDeployParam(ProjectENT ent) {
        packageName = ent.getPackageName();
        tablePrefix = ent.getTablePrefix();
        columnPrefix = ent.getColumnPrefix();
        author = "CodeFactory";
    }

}
